package com.zcsy.manage.distribution.service.mall.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zcsy.manage.distribution.service.mall.CIOrderInfoDetailService;
import com.zcsy.manage.model.mall.OrderDetailInfo;
import com.zcsy.manage.model.mall.OrderDetailInfoView;
import com.zcsy.manage.persistence.mall.OrderDetailInfoDao;

/**
 * 
 * @Title:COrderInfoDetailServiceImpl
 * @Package：  com.zcsy.manage.distribution.service.mall.impl
 * @Description:订单详情实现类 
 * @author wangj
 * @date 2016年6月17日上午10:09:35
 * @version 1.0
 * @see JDK1.7.0_67
 * @Copyright: 2016 武汉恒数利通技术有限公司 All rights reserved.
 */
@Service
public class COrderInfoDetailServiceImpl implements CIOrderInfoDetailService{

	@Autowired
	private OrderDetailInfoDao orderDetailInfoDao;
	
	@Override
	public OrderDetailInfo selectByPrimaryKey(String id) {
		return orderDetailInfoDao.selectByPrimaryKey(id);
	}

	@Override
	public List<OrderDetailInfoView> getByOrderId(String orderid) {
		return orderDetailInfoDao.getByOrderId(orderid);
	}

}
